package com.qf.mybatisplus.bean.vo;

import com.qf.mybatisplus.aspect.EncryptParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 12136
 * @version 1.0
 * @description: TODO
 * @date 2022/4/1 11:26
 */
@Data
public class UserCreateVo {

    /**
     * 姓名
     */
    @ApiModelProperty(value = "用户姓名")
    private String name;

    @ApiModelProperty(value = "用户密码")
    private String password;

    @ApiModelProperty(value = "用户性别")
    private String sex;

    /**
     * 年龄
     */
    @ApiModelProperty(value = "用户年龄")
    private Integer age;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "用户邮箱")
    private String email;

    // 对手机号进行加密
    @EncryptParam
    @ApiModelProperty(value = "用户联系方式")
    private String phone;

    @ApiModelProperty(value = "用户照片地址")
    private String pagePicture;


}
